package org.bigmarketapi.gatewaycenter.domain.registry.repository;

import org.bigmarketapi.gatewaycenter.domain.registry.model.vo.AppInterfaceMethodVO;
import org.bigmarketapi.gatewaycenter.domain.registry.model.vo.AppInterfaceVO;
import org.bigmarketapi.gatewaycenter.domain.registry.model.vo.AppSystemVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author dujiaqi
 */
@Repository
public interface registryRepository {
    void insertApplication(AppSystemVO applicationSystemVO);

    void insertApplicationInterface(AppInterfaceVO applicationInterfaceVO);

    void insertApplicationInterfaceMethod(AppInterfaceMethodVO applicationInterfaceMethodVO);


    AppSystemVO queryAppSystemBySystId(String gatewayId);

    List<AppInterfaceVO> queryAppInterfaceBySystemId(String systemId);

   List<AppInterfaceMethodVO> queryInterMethods(List<String> interfaceIds);

    String querySystemIdByGatewayId(String gatewayId);
}
